package com.zhentao.mapper;

import com.zhentao.model.user.pojo.ApUser;
import com.zhentao.model.social.pojo.ApUserCollect;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 许文倩
* @description 针对表【ap_user_collect】的数据库操作Mapper
* @createDate 2024-07-08 15:04:01
* @Entity com.zhentao.pojo.ApUserCollect
*/
public interface ApUserCollectMapper extends BaseMapper<ApUserCollect> {

    List<ApUser> getList(Integer userId);

    List<Long> getUserId(Integer userId);

    Integer likeMe(@Param("userId") Integer userId);



    List<Long> getLikeId(Integer userId);

    List<ApUser> likeMeList(@Param("userIds")List<Long> userIds);
}




